package lwf.games.hangman;

import java.util.HashMap;
import java.util.Map;
import java.util.Random;

public class DataProvider {
	
	public static String getData(String imagepath) {
		
		Random random = new Random();
		int numb = random.nextInt(5);
		
	   	Map<String, String> datamap = new HashMap<String, String>();
		datamap.put("1", "hint1*word1|hint1*quote1");
		datamap.put("2", "hint2*word2|hint2*quote2");
		datamap.put("3", "hint3*word3|hint3*quote3");
		datamap.put("4", "hint4*word4|hint4*quote4");
		datamap.put("5", "hint5*word5|hint5*quote5");
		String datain = imagepath + (String) datamap.get(String.valueOf(numb));
		
		return datain;
	}

}
